package com.example.calculadoraandroid;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;



public class BotonNumero extends Button {

	private static double valor;
		public BotonNumero(Context context) {
		super(context);
		CharSequence a=this.getText();
		valor=Double.parseDouble (a.toString());
		
	}

		public BotonNumero(Context context, AttributeSet attrs, int defStyle) {
			super(context, attrs, defStyle);
			CharSequence a=this.getText();
			valor=Double.parseDouble (a.toString());
		}

		public BotonNumero(Context context, AttributeSet attrs) {
			super(context, attrs);
			CharSequence a=this.getText();
			valor=Double.parseDouble (a.toString());

		}

		
		
	}

	
	
